package com.qk.service;

import com.qk.common.PageResult;
import com.qk.entity.Activity;

import java.util.List;

public interface ActivityService {


    PageResult<Activity> list(Integer channel, Integer type, Integer status, Integer page, Integer pageSize);

    void add(Activity activity);

    Activity selectById(Integer id);

    void deleteById(Integer id);

    void update(Activity activity);

    List<Activity> selectByType(Integer type);

    List<Activity> selectAll();
}
